like
Returns true if this text matches the specified pattern using SQL LIKE syntax.
Example:
val names = ["Alice", "Victor", "Viktor", "Victoria"];
print(names @* { .like("Vi_tor") }); // prints [Victor, Viktor]
print(names @* { .like("Vic%") }); // prints [Victor, Victoria]
Content copied to clipboard
Since
0.10.4
Parameters
pattern
The pattern to match against. _
means any character and %
means any number of caracters